Skip to content

Conversation

@AdrienClairembault
Copy link
Contributor

@AdrienClairembault AdrienClairembault commented Nov 18, 2025

Checklist before requesting a review

  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.

Description

When updating a form/question/comment/section/destination and :

  • Visibility strategy is set to "always visible"
  • Creation strategy is set to "always created"
  • Validation strategy is set to "no validation"

Then we delete the associated condition data.

This avoid the user seing old data if he switch back to the another strategy later on, as it will now have been cleaned.

@AdrienClairembault AdrienClairembault marked this pull request as ready for review November 20, 2025 15:17
@cedric-anne cedric-anne merged commit 7ede2ec into glpi-project:11.0/bugfixes Nov 26, 2025
13 of 14 checks passed
@cedric-anne cedric-anne added this to the 11.0.3 milestone Nov 26, 2025
@AdrienClairembault AdrienClairembault deleted the clear-conditions branch November 26, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants